package com.shushan.home.bean;

import com.android.net.bean.NetBaseBean;

import org.json.JSONException;
import org.json.JSONObject;

/**
 * @ClassName: UseAppBean
 * @Desciption: 玩耍应用统计bean
 * @author: yichaohua
 * @date: 2018-07-20
 */
public class UseAppBean extends NetBaseBean {

    public String app_name;//应用名称
    public int duration;//玩的时间（秒）

    @Override
    public void initByJson(JSONObject jsonObject) throws JSONException {
        app_name = jsonObject.optString("app_name","");
        duration = jsonObject.optInt("duration",0);
    }
}
